package com.sijiao.stock.service.impl;

import com.sijiao.stock.service.IMQProducerService;
import org.springframework.stereotype.Service;

@Service
public class MQProducerService implements IMQProducerService {
    @Override
    public void sendConsumeStock(Long orderId, Long skuId, Long stock) {
        System.out.println("MQProducerService sendConsumeStock 。。。");
    }

    @Override
    public void rollbackStock(Long orderId, Long skuId, Long stock) {
        System.out.println("MQProducerService rollbackStock 。。。");
    }
}
